<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>JFinal-extend - #ver('s')</title>
</head>
<body>
#set(str = "Hello''\"\"\"><<>>")
<div>
    <h3>html转义测试</h3>
    转义前的显示：<a href="/qr?#(str)">二维码测试</a>
    <br>
    转义后的显示：<a href="/qr?#escHtml(str)">二维码测试</a>
    <br>
    <br>
    <h3>版本号</h3>
    每秒修改：#ver()
    <br>
    每分修改：#ver('m')
    <br>
    每时修改：#ver('h')
    <br>
    <br>
    <h3>URL编码：</h3>
    原始URL：http://ywyself.cn
    <br>
    编码后：#url('http://ywyself.cn')
</div>
<br>
<script>
    console.log("js代码字符转义");
    console.log('#escJs(str)');
</script>
</body>
</html>